package com.cet.designpatterns.decorator;

/**
 * @program: algorithm
 * @description: 客户端
 * @author: 陈恩涛
 * @create: 2021-09-09 22:56
 **/
public class CoffeeBar {
    public static void main(String[] args) {
        Drink drink = new Chocolate(new Chocolate(new Milk(new LongBlack())));
        System.out.println(drink.getDes());
        System.out.println(drink.cost());
    }
}
